(function(){

    __resize();

    window.addEventListener('resize', __resize, false);

    function __resize() {
        var deviceWidth = document.documentElement.clientWidth;
		if(deviceWidth > 750) deviceWidth = 750;
		document.documentElement.style.fontSize = deviceWidth / 7.5 + 'px';
    }
    
})();